<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/18
 * Time: 10:43
 */

namespace app\server;
use rap\db\DB;
use rap\db\Record;

class gasStation extends Record
{

    public function getGasStationList ($sql, $where, $field) {


//        $list = DB::select('mp_gas_station')->where($where)->fields($field)->cache()->findAll();
        $list = DB::query($sql);

        return $list;
    }
}